package xendit

// InvoiceBank Invoice支付中的支持银行
type InvoiceBank struct {
	Id                int64  `json:"id" gorm:"primary_key;auto_increment"`
	InvoiceId         string `json:"invoice_id"`
	BankCode          string `json:"bank_code"`
	CollectionType    string `json:"collection_type"`
	BankAccountNumber string `json:"bank_account_number"`
	TransferAmount    int64  `json:"transfer_amount"`
	BankBranch        string `json:"bank_branch"`
	AccountHolderName string `json:"account_holder_name"`
	IdentityAmount    int64  `json:"identity_amount"`
}

func (InvoiceBank) TableName() string {
	return "xen_invoice_bank"
}
